package com.app.pojo;

import com.app.common.POJO;

import java.time.LocalDateTime;

/**
 * Copyright (C) @2020 fgwang.660@gmail.com
 *
 * @author witt
 * @version 1.0
 * @className User
 * @date 2020-05-31 19:21
 * @description 用户
 */
public class User extends POJO {
	private static final long serialVersionUID = 2813191294685597682L;

	// 登录账户
	private String loginId;

	// 登录密码
	private String password;

	// 昵称
	private String nickName;

	// 职工
	private Integer staffId;

	@Override
	public User setId(Integer id) {
		super.setId(id);
		return this;
	}

	public String getLoginId() {
		return loginId;
	}

	public User setLoginId(String loginId) {
		this.loginId = loginId;
		return this;
	}

	public String getPassword() {
		return password;
	}

	public User setPassword(String password) {
		this.password = password;
		return this;
	}

	public String getNickName() {
		return nickName;
	}

	public User setNickName(String nickName) {
		this.nickName = nickName;
		return this;
	}

	public Integer getStaffId() {
		return staffId;
	}

	public User setStaffId(Integer staffId) {
		this.staffId = staffId;
		return this;
	}

	@Override
	public User setCreatedTime(LocalDateTime createdTime) {
		super.setCreatedTime(createdTime);
		return this;
	}

	@Override
	public User setUpdateTime(LocalDateTime updateTime) {
		super.setUpdateTime(updateTime);
		return this;
	}

	@Override
	public User setDisable(Boolean disable) {
		super.setDisable(disable);
		return this;
	}
}
